﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 出货单拉源单信息DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfSrcDocInfoDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfSrcDocInfoDTOData()
		{
			initData();
		}
		private void initData()
		{
					SrcDocType= 0; 
							SrcDocLineID= 0; 
							WH= 0; 
							CurShipQty1=0m; 
					CurShipQty2=0m; 
					SOIsConsign=false; 
		
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        	        	        			if (this.DataTransferObject != null) 
			{
				this.DataTransferObject.DoSerializeKeyList(dict);
			}
	        	        	        	        	        			if (this.ItemMaster != null) 
			{
				this.ItemMaster.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfSrcDocInfoDTOData(  System.Int32 srcDocType  , System.Int64 srcDocLineID  , System.Int64 wH  , System.Decimal curShipQty1  , System.Decimal curShipQty2  , System.Boolean sOIsConsign  , List<System.String> optionalSplitTerm  , System.String lotCode  , ufida.u9.ait.openapi.ShipFromSODTOData dataTransferObject  , System.String docNo  , System.String docLineNo  , System.String subLineNo  , System.String whCode  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData itemMaster  )
		{
			initData();
			this.SrcDocType = srcDocType;
			this.SrcDocLineID = srcDocLineID;
			this.WH = wH;
			this.CurShipQty1 = curShipQty1;
			this.CurShipQty2 = curShipQty2;
			this.SOIsConsign = sOIsConsign;
			this.OptionalSplitTerm = optionalSplitTerm;
			this.LotCode = lotCode;
			this.DataTransferObject = dataTransferObject;
			this.DocNo = docNo;
			this.DocLineNo = docLineNo;
			this.SubLineNo = subLineNo;
			this.WhCode = whCode;
			this.ItemMaster = itemMaster;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 来源单据类别
		/// 出货单拉源单信息DTO Copy.Misc.来源单据类别
		/// </summary>
		private System.Int32 m_srcDocType ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocType
		{
			get	
			{	
				return m_srcDocType ;
			}
			set	
			{	
				m_srcDocType = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单据行/子行ID
		/// 出货单拉源单信息DTO Copy.Misc.来源单据行/子行ID
		/// </summary>
		private System.Int64 m_srcDocLineID ;
		[DataMember(IsRequired=false)]
		public System.Int64 SrcDocLineID
		{
			get	
			{	
				return m_srcDocLineID ;
			}
			set	
			{	
				m_srcDocLineID = value ;	
			}
		}
			
		

		/// <summary>
		/// 存储地点ID
		/// 出货单拉源单信息DTO Copy.Misc.存储地点ID
		/// </summary>
		private System.Int64 m_wH ;
		[DataMember(IsRequired=false)]
		public System.Int64 WH
		{
			get	
			{	
				return m_wH ;
			}
			set	
			{	
				m_wH = value ;	
			}
		}
			
		

		/// <summary>
		/// 本次出货量1
		/// 出货单拉源单信息DTO Copy.Misc.本次出货量1
		/// </summary>
		private System.Decimal m_curShipQty1 ;
		[DataMember(IsRequired=false)]
		public System.Decimal CurShipQty1
		{
			get	
			{	
				return m_curShipQty1 ;
			}
			set	
			{	
				m_curShipQty1 = value ;	
			}
		}
			
		

		/// <summary>
		/// 本次出货量2
		/// 出货单拉源单信息DTO Copy.Misc.本次出货量2
		/// </summary>
		private System.Decimal m_curShipQty2 ;
		[DataMember(IsRequired=false)]
		public System.Decimal CurShipQty2
		{
			get	
			{	
				return m_curShipQty2 ;
			}
			set	
			{	
				m_curShipQty2 = value ;	
			}
		}
			
		

		/// <summary>
		/// 是否补货
		/// 出货单拉源单信息DTO Copy.Misc.是否补货
		/// </summary>
		private System.Boolean m_sOIsConsign ;
		[DataMember(IsRequired=false)]
		public System.Boolean SOIsConsign
		{
			get	
			{	
				return m_sOIsConsign ;
			}
			set	
			{	
				m_sOIsConsign = value ;	
			}
		}
			
		

		/// <summary>
		/// 可选分单条件集合
		/// 出货单拉源单信息DTO Copy.Misc.可选分单条件集合
		/// </summary>
		private List<System.String> m_optionalSplitTerm ;
		[DataMember(IsRequired=false)]
		public List<System.String> OptionalSplitTerm
		{
			get	
			{	
				if (m_optionalSplitTerm == null )
				{
					List<System.String> n_m_list = new List<System.String>() ;
					m_optionalSplitTerm = n_m_list ;
				}
				return m_optionalSplitTerm ;
			}
			set	
			{	
				m_optionalSplitTerm = value ;	
			}
		}
			
		

		/// <summary>
		/// 批号
		/// 出货单拉源单信息DTO Copy.Misc.批号
		/// </summary>
		private System.String m_lotCode ;
		[DataMember(IsRequired=false)]
		public System.String LotCode
		{
			get	
			{	
				return m_lotCode ;
			}
			set	
			{	
				m_lotCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 数据传输对象
		/// 出货单拉源单信息DTO Copy.Misc.数据传输对象
		/// </summary>
		private ufida.u9.ait.openapi.ShipFromSODTOData m_dataTransferObject ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.ShipFromSODTOData DataTransferObject
		{
			get	
			{	
				return m_dataTransferObject ;
			}
			set	
			{	
				m_dataTransferObject = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 出货单拉源单信息DTO Copy.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 出货单拉源单信息DTO Copy.Misc.行号
		/// </summary>
		private System.String m_docLineNo ;
		[DataMember(IsRequired=false)]
		public System.String DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 子行号
		/// 出货单拉源单信息DTO Copy.Misc.子行号
		/// </summary>
		private System.String m_subLineNo ;
		[DataMember(IsRequired=false)]
		public System.String SubLineNo
		{
			get	
			{	
				return m_subLineNo ;
			}
			set	
			{	
				m_subLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 仓库编码
		/// 出货单拉源单信息DTO Copy.Misc.仓库编码
		/// </summary>
		private System.String m_whCode ;
		[DataMember(IsRequired=false)]
		public System.String WhCode
		{
			get	
			{	
				return m_whCode ;
			}
			set	
			{	
				m_whCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 出货单拉源单信息DTO Copy.Misc.料品
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_itemMaster ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ItemMaster
		{
			get	
			{	
				return m_itemMaster ;
			}
			set	
			{	
				m_itemMaster = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																												
		#endregion 
	} 	
}
